home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
dpmigcc5.zip
/
RSX
/
SOURCE
/
DJLIBRSX
/
PTRACE.S
< prev
next >
Wrap
Text File
|
1994-05-27
|
338b
|
19 lines
/ int ptrace ( int request , int child_id , int address , int data )
.globl _ptrace
_ptrace:
pushl %ebx
pushl %edi
movl 12(%esp), %ebx
movl 16(%esp), %edi
movl 20(%esp), %edx
movl 24(%esp), %ecx
movw $0x7f08,%ax
int $0x21
popl %edi
popl %ebx
jecxz 1f
movl %ecx, _errno
1:
ret